package com.zhang.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.entity.BaseSaleProperty;
import com.zhang.entity.ProductSpu;
import com.zhang.result.RetVal;
import com.zhang.service.BaseBrandService;
import com.zhang.service.BaseSalePropertyService;
import com.zhang.service.ProductSpuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 商品表 前端控制器
 * </p>
 *
 * @author zbw
 * @since 2022-04-07
 */
@RestController
@RequestMapping("/product")
public class ConcurrentController {
    @Autowired
    private BaseBrandService brandService;

    @GetMapping("setNum")
    public String setNum(){
        brandService.setNum();
        return "success";
    }
}

